package cn.xhh.dailyreview.client.utils;


/**
 * This class defines the history tokens (used in the URL suffix as bookmarks).
 * 
 * @author cooky
 */
public enum Token {

	action, email, 
	/** confirmation code */
	code,
	/** confirm registration */
	confirm,
	/** reset password */
	reset_pwd;
	
	/**
	 * @param str string to compare
	 * @return <code>true</code> if this.toString().equals(str)
	 */
	public boolean same(String str) {
		return this.toString().equals(str);
	}

}
